package com.lenovo.testreport.qa.web.compatibility.service;

import com.lenovo.testreport.qa.web.compatibility.model.QaWebCompatibilityReport;

import java.util.List;

/**
 * @author CJF
 * @date 2018/11
 */
public interface QaWebCompatibilityReportService {
    List<QaWebCompatibilityReport> findAllReport(String tablename);

    List<QaWebCompatibilityReport> findByType(String tablename, String type);

    int addReport(String tablename, QaWebCompatibilityReport report);

    int findMaxId(String tablaname);

    List<QaWebCompatibilityReport> findReportByTime(String tablename, String start, String end, String version);

    List<String> findAllVersion(String tablename);
}
